package com.example.lin.zyfypt_327ljd.service;

import com.example.lin.zyfypt_327ljd.bean.ArticleBean;
import com.example.lin.zyfypt_327ljd.bean.LoginBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;


/**
 * Created by lin on 2017/4/18.
 */

public interface LoginService {
    @GET("api.php/login/username/{username}/password/{password}")
    Call<LoginBean> login(@Query("username") String username,
                          @Query("password") String password);
}
